  <% @articles_in_here = sections.articles %>
  <%name=sections.name%>
<li>    
  <div id="<%=sections.id%>" class="section_box">
     <h2> 
        <%=name%>
        [<%= link_to( 'Edit', :action => 'edit_section', :id => sections.id  ) %>]

        [<%= link_to( 'Remove', :action => 'destroy_section',:confirm => 'Are you sure?', :id => sections.id  ) %>]
     </h2>
     

    <ul id="articles_list">
       <% if @articles_in_here.count() > 0 %>
          <%= render(:partial => 'article', :collection => @articles_in_here, :locals => {:section => sections}) %>
      <%else%>
       <li> 
            <p class="info"> There are no articles in this section </p> 
       </li>
      <%end%>
     </ul>
     
     <p>
    
      <%= link_to('+ Add new article' , :action=>'new_article', :section => sections)%>
    
    </p>
   

  </div>
</li>
